Pod::Spec.new do |s|
s.name     = 'AGLoadingView'
s.version  = '1.1.0'
s.license  = 'MIT'
s.summary  = 'This is a perfect loading view when user wati for datas from server'
s.homepage = 'https://gitee.com/AaronV5V5/AGLoadingView'
s.author   = { 'Aaron Goole' => 'aaronv5v5v5@gmail.com' }

s.source   = { :git => 'https://gitee.com/AaronV5V5/AGLoadingView.git', :tag => "v#{s.version}" }

s.description = %{
AGLoadingView is a loading view.
AGLoadingView supports iOS.
}

pch_AF = <<-EOS
#ifndef TARGET_OS_IOS
#define TARGET_OS_IOS TARGET_OS_IPHONE
#endif
#ifndef TARGET_OS_TV
#define TARGET_OS_TV 0
#endif
EOS

s.source_files = 'AGLoadingView/*.{h,m}'

s.ios.frameworks = 'Foundation', 'UIKit'
s.tvos.frameworks = 'Foundation', 'UIKit'
s.osx.frameworks = 'Foundation', 'AppKit'

s.ios.deployment_target = '6.0' # minimum SDK with autolayout
s.osx.deployment_target = '10.7' # minimum SDK with autolayout
s.tvos.deployment_target = '9.0' # minimum SDK with autolayout
s.requires_arc = true
end
